using System;
using System.Collections.Generic;
using System.Text;

namespace ca.metaobjects.csogateway.Reflection
{
	internal class LibraryScriptFileInformation
	{
		private string fileName;
		internal string FileName
		{
			get
			{
				return fileName;
			}
		}
		
		private List<CsoNativeType> containedTypes;
		internal List<CsoNativeType> ContainedTypes
		{
			get
			{
				return containedTypes;
			}
		}

		internal LibraryScriptFileInformation(string fileName)
		{
			this.fileName = fileName;
			containedTypes = new List<CsoNativeType>(5);
		}

		internal void addContainedType(CsoNativeType csoNativeType)
		{
			if (!containedTypes.Contains(csoNativeType))
			{
				containedTypes.Add(csoNativeType);
			}
		}
	}
}
